package com.china08.yxyapi.service.lesson;

import org.elasticsearch.index.query.BoolQueryBuilder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.china08.yxyapi.entity.es.ElasticYxyYxyQuesResource;

public interface TecCloudQuesLessonService {

    Page<ElasticYxyYxyQuesResource> questionFindByKnowAndLevelAndType(String know, String difficultyLevel,
            String questionType, String userId, String subject, Integer status, Pageable pageable);

    /**
     * 基础查询
     * 
     * @param boolQueryBuilder
     * @param level
     * @param type
     * @return
     */
    public BoolQueryBuilder get(BoolQueryBuilder boolQueryBuilder, String level, String type);

}
